<?php

namespace Admin\Model;

use Zend\Db\TableGateway\AbstractTableGateway;
use Zend\Db\ResultSet\ResultSet;

class FacultyTable extends AbstractTableGateway {

    protected $table;
    protected $adapter;
    protected $resultSetPrototype;

    public function __construct($adapter) {
        $this->table = 'tbl_faculties';
        $this->adapter = $adapter;
        $this->resultSetPrototype = new ResultSet();
    }
    public function getAllFaculty() {
        return $this->select();
    }
}

?>
